module.exports = {
    proxy: {
      '/api': {
        target: 'http://xiaochengxu.meiyetongsoft.com/index.php/api',  // 接口域名
        changeOrigin: true,  //是否跨域
        pathRewrite: {
          '^/api': '/'
        }
      },
      '/weixin': {
        target: 'http://xiaochengxu.meiyetongsoft.com/index.php/weixin', // 接口域名
        changeOrigin: true, //是否跨域
        pathRewrite: {
          '^/weixin': '/'
        }
      },
    }
  }
